package com.kata.chapter8;

/**
 * Created by Solidsnake on 2014/11/26.
 */
public class TrainingProcess {

    /**
     * 训练的队伍, 可以使用模式变更, 目前本例只提供[特种部队]
     */
    Training target = new SpecialForces();

    /**
     * 训练
     * @param place 训练地点
     * @param catalog 训练科目
     */
    public void training(String place, String catalog) {

        target.getOutOfBad();

        target.linedUp();

        target.moveTo(place);

        target.training(catalog);

    }
}
